package routers

import (
	"github.com/gin-gonic/gin"
	"xunjian/controller"
)

func HomeRouter(c *gin.Engine) {
	c.LoadHTMLGlob("templates/*")
	c.GET("/", controller.HomeController{}.Home)
	c.POST("/DoSave", controller.HomeController{}.DoSave)
}
